@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

.navbar {
    background-color: none;
}

.navbar img {
    height: 10vh;
    margin-top: 10px;
}

.navbar a {
    color: whitesmoke;
    font-weight: 500;
}

body {
    background-image: url(obraz/background.png);
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Roboto', sans-serif!important;
    margin-bottom: 200px;

}

#title {
    margin: 4rem;
    color: white;
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    text-align: center;
}

.contact-info {
    width: calc(100% - 40px); /* Odstraníme 40px z celkové šířky, aby zůstaly mezery na bocích */
    max-width: 1200px; /* Maximum width for the container */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    padding-top: 30px;
    gap: 20px; /* Mezera mezi boxy */
}

.card {
    background: #ffffff;
    padding: 20px;
    margin: 10px;
    flex: 1 1 calc(33.333% - 40px); /* Flex item will be at least one third of the container width minus gap */
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #0D0B07;
    cursor: pointer;
    border-radius: 15%;
    transition: transform 1s;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); /* Svítivé okraje */

}

.card:hover {
    background: #e97c18;
    color: #0D0B07;
    transform: scale(1.1);
}

.card p {
    margin-top: 20px;
    font-size: 1.5rem; /* Zvětšili jsme velikost písma */
    font-weight: bold;
    letter-spacing: 2px;
    opacity: 1;
    text-decoration: none; /* Odstraníme podtržení textu */
}

footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #F07D2C;
    width: 100%;
    height: 50px; /* Zvýšili jsme výšku footeru */
    display: flex;
    justify-content: center;
    align-items: center;
}

footer a {
    font-size: 2rem; /* Zvýšili jsme velikost písma v footeru */
    margin: 0 4rem; /* Zvýšíme mezery mezi ikonami */
    transition: .2s;
    color: #FFF;
}

footer a:hover {
    color: #464849!important;
}

/* Media queries pro responzivitu */
@media (max-width: 1200px) {
    .card {
        flex: 1 1 250px;
    }
}

@media (max-width: 992px) {
    .card {
        flex: 1 1 300px;
    }
}

@media (max-width: 768px) {
    #title {
        font-size: 2.5rem;
    }

    .card {
        flex: 1 1 100%;
        height: 150px;
    }
}

@media (max-width: 576px) {
    #title {
        font-size: 2rem;
    }

    .navbar img {
        height: 8vh; /* Změníme výšku loga pro menší obrazovky */
    }

    footer {
        height: 80px; /* Mírně snížíme výšku footeru pro menší obrazovky */
    }

    footer a {
        font-size: 1.5rem;
    }
}
